package com.commbizobj.category;

import java.util.List;

public interface CategoryManager {    
    public CategoryTree getAllChildCategories(String categoryId);
    public CategoryTree getChildCategories(String categoryId, int numberOfLevels);
    /**
     * Gets all categories less than current category's level, which will be used in
     * breadcrumb navigation.
     */
    public List<Category> getBreadcrumbForCategory(String categoryId);
    
    public void addCategory(Category c);
    public void updateCategoryById(Category c);
    public void deleteCategoryById(String categoryId);
}
